#ifndef __MODE_H__
#define __MODE_H__

#include "main.h"
#include "lcd_init.h"

void keywait(uint32_t time);
uint8_t drawFile(char *fn);
void sdcard_init(void);
int testModeStart(void);
int usbModeStart(void);
uint8_t bmpDrawFile(char *fileName);

#define Interval             600
#define Parallel2_18bit      0  //8bit bus 16bit pix,r5+g3 g3+b5;
#define Parallel1_8bit       0  //8bit bus 18bit pix,r6,g6,b6;
#define SPI_565              1
//#define RGB_24bit             0   //888 rgb;

#endif //__TESTER_H__
